"DESCRIPTION 1"="Users of Windows 98 and 2000, or Windows 95 users with Internet Explorer 4.x / 5.x with the Active Desktop installed will be able to take advantage of the 'Hot Tracking' feature that changes the color of items in Windows Explorer when the mouse is 'hovered' over the top of them. The same feature is also used in X-Setup!"
"DESCRIPTION 2"="This plug-in lets you change the color from the standard blue to one of the above colors. Note that this also affects X-Setup, and the tabs on the X-Setup SDK, as well as other programs such as WinZip where the Hot Tracking feature is enabled."
"DESCRIPTION 3"="NOTE: You will need to logoff for the changes to take effect."
"COMMENT 1"=""
"VERSION"="2.03"
"AUTHOR"="Xteq Systems (Neil R. Turner)"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"CONTACTURL"="http://www.xteq.com/"
sP="HKCU\Control Panel\Colors\HotTrackingColor"
SUB Plugin_Initialize
Call SetUIElement(1,"Red") '255 0 0
Call SetUIElement(2,"Lime") '0 255 0
Call SetUIElement(3,"Blue") '0 0 255
Call SetUIElement(4,"Yellow")'255 255 0
Call SetUIElement(5,"White") '255 255 255
Call SetUIElement(6,"Black") '0 0 0
Call SetUIElement(7,"Olive") '80 80 0
Call SetUIElement(8,"Green") '0 80 0
Call SetUIElement(9,"Maroon") '80 0 0
Call SetUIELement(10,"Navy") '0 0 80
Call SetUIElement(11,"Purple") '80 0 80
Call SetUIElement(12,"Gray") '80 80 80
Call SetUIElement(13,"Aqua") '0 255 255
Call SetUIElement(14,"Fuschia") '255 0 255
Call SetUIElement(15,"Silver") '192 192 192
Call SetUIElement(16,"Teal") '0 80 80
Call SetUIElement(17,"(CUSTOM...)")
END SUB
Sub Plugin_CheckData(ElementIndex)
End Sub
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
If ElementIndex=1 then 'Set Color (grrr... it's 'colour' in REAL English!)
if ElementSubIndex=0 then
Call MsgWarning("No item selected - please select an item first.")
Exit sub
end if
s=""
Select Case ElementSubIndex
Case 1 'Red
s="255 0 0"
Case 2 'Lime
s="0 255 0"
Case 3 'Blue
s="0 0 255"
Case 4 'Yellow
s="255 255 0"
Case 5 'White
s="255 255 255"
Case 6 'Black
s="0 0 0"
Case 7 'Olive
s="80 80 0"
Case 8 'Green
s="0 80 0"
Case 9 'Maroon
s="80 0 0"
Case 10 'Navy
s="0 0 80"
Case 11 'Purple
s="80 0 80"
Case 12 'Gray (grrr - it's 'grey' in REAL English!)
s="80 80 80"
Case 13 'Aqua ("I'm a barbie girl...")
s="0 255 255"
Case 14 'Fuschia
s="255 0 255"
Case 15 'Silver
s="192 192 192"
Case 16 'Teal
s="0 80 80"
Case 17
v=RegReadValue(sP)
s=InputWindow("Type in the color values for your custom color (for example 255 255 255 would be white, 255 0 0 would be red etc.), and then click OK.",v,1)
End Select
Call RegWriteValue(sp,s,1)
Call MsgInformatioN("The new color has been set.")
Call Logoff()
else 'Reset Color
s=RegReadValue(sp)
if IsEmpty(s)=false then
Call RegDeleteValue(sp)
end if
Call MsgInformatioN("The default color has been restored.")